﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Provider.Adapter.Mapping
{
    public interface IMapping<TSourceKey, TSourceValue, TTargetKey, TTargetValue>
        where TSourceKey : IKey
        where TSourceValue : IValue
        where TTargetKey : IKey
        where TTargetValue : IValue
    {
        TSourceKey SourceKey { get; set; }
        TTargetValue GetTargetValue(TSourceValue sourceValue);
        TTargetKey TargetKey { get; set; }
    }
}
